package com.liliudong.template.common.entity.sys;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;

/**
 * 用户角色表
 *
 * @author ldli5
 * @date 2024/06/18
 */
@Data
@Table(value = "sys_user_role")
public class SysUserRole {
    /**
     * 主键
     */
    @Id(keyType = KeyType.Auto)
    private Long id;

    /**
     * 角色ID
     */
    private Long roleId;

    /**
     * 用户id
     */
    private Long userId;
}
